//
//  XJCommunityTagModel.h
//  XinJiangMall
//
//  Created by RaoBo on 2018/5/30.
//  Copyright © 2018年 Tzyang. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface XJCommunityTagModel : NSObject
/**1.tag 名字*/
@property (nonatomic, copy) NSString *name;
/**2 tag 图标*/
@property (nonatomic, copy) NSString *cover;
/**3.id 应该有用 单独修改 应该更具tagId进行判断来进行不同的跳转*/
@property (nonatomic, strong) NSNumber *tagId;

@end

//服务器返回数据示例
/**
 {
 "code": 0,
 "data": {
 "content": {
 "community": {
 "id": 12,
 "name": "无名小区",
 "avatar": "http://static.zertone1.com/CcrIyZcpeCRL3oVBXBDEpF5FJXvLIYxG.png",
 "linkman": "呵呵",
 "phone": "13470039227",
 "address": "华盛达馆藏",
 "lng": 120.187084,
 "lat": 30.194079,
 "status": 1,
 "admin_id": 1,
 "admin_name": "张三",
 "is_delete": 0,
 "create_time": 1527474398688,
 "cover": "http://static.zertone1.com/xBKzFxYn6toMpkArRxmtktwDi6VZQEMP.jpg",
 "geohash": "wtm7ybtt",
 "invitation_category": "1,2,3,36,35,34,37,42,33,"
 },
 "category": [{
 "id": 1,
 "pid": 0,
 "name": "社区",
 "cover": "",
 "sort": 1,
 "active": 1,
 "level": 1,
 "create_time": 1524879789506,
 "second_category": [{
 "id": 37,
 "name": "防守打法",
 "cover": "http://static.zertone1.com/i7d5lBreW0W4MzYmsL42ukYM3KCqQsF1.png",
 "code": "invitation_list"
 }, {
 "id": 33,
 "name": "我要服务",
 "cover": "http://static.zertone1.com/3ysFLnn4Nb6vWMDlaYeXbYZ3pEfiMVha.png",
 "code": "service"
 }, {
 "id": 34,
 "name": "社区认证",
 "cover": "http://static.zertone1.com/sEPzNCxKUgv9nFqvIMJfnIVhYJ9PHoTf.png",
 "code": "community_audit"
 }, {
 "id": 42,
 "name": "今日趣事",
 "cover": "http://static.zertone1.com/lEheAvJALGwwlH4tMDeVMH1q6MRxnnZN.jpeg",
 "code": "invitation_list"
 }]
 }, {
 "id": 2,
 "pid": 0,
 "name": "青年公社",
 "cover": "",
 "sort": 2,
 "active": 1,
 "level": 1,
 "create_time": 1524879789506,
 "second_category": [{
 "id": 35,
 "name": "今日社情",
 "cover": "http://static.zertone1.com/2PHwsjY4ElMF77Gl1LQUuIcIXS0bLQiM.png",
 "code": "invitation_list"
 }]
 }, {
 "id": 3,
 "pid": 0,
 "name": "物业",
 "cover": "",
 "sort": 3,
 "active": 1,
 "level": 1,
 "create_time": 1524879789506,
 "second_category": [{
 "id": 36,
 "name": "缴费服务",
 "cover": "http://static.zertone1.com/gzOF3paBRPC3Ch7pRefUocR3N6AugMt1.png",
 "code": "payment"
 }]
 }]
 }
 }
 }
 */
